package com.example.aijava.qiniuyun;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

public class QiniuChatRequest {
    private boolean stream;
    private String model;
    private List<Message> messages;
    @JsonProperty("max_tokens")
    private Integer maxTokens = 1000;
    private Double temperature = 0.7;

    public QiniuChatRequest() {}

    public boolean isStream() {
        return stream;
    }

    public void setStream(boolean stream) {
        this.stream = stream;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public List<Message> getMessages() {
        return messages;
    }

    public void setMessages(List<Message> messages) {
        this.messages = messages;
    }

    public Integer getMaxTokens() {
        return maxTokens;
    }

    public void setMaxTokens(Integer maxTokens) {
        this.maxTokens = maxTokens;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }
}